<?php
header('Content-Type:text/html; Charset=UTF-8');
require 'lib/checker.php';

@$id = $_REQUEST['id'];

var_dump($id);

$title = '删除餐桌错误提示';
$jumpUrl = 'boardList.php';

require 'lib/db.php';

if(!empty($id)){
	dbDelete('delete from desk where id=:id',array('id'=>$id));
}

header('location:boardList.php');